<?php

class Update extends My_Controller
{
    function index()
    {
    	if($this->session->userdata('role') == 1) {
    	$this->load->view('update_db/getprice');
    	}
        else 'access denied';
    }
}

?>